
package com.insigma.business.qrcode.common._consumer.impl;


import com.insigma.business.qrcode.common.dto.CommonAttachmentDTO;
import com.insigma.business.qrcode.common.dto.CommonAttachmentInsertRequest;
import com.insigma.business.qrcode.common.dto.CommonAttachmentSearchRequest;
import com.insigma.business.qrcode.common.dto.CommonAttachmentUpdateRequest;
import com.insigma.business.qrcode.common._consumer.CommonAttachmentConsumer;
import com.insigma.business.qrcode.common._provider.CommonAttachmentProvider;
import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("commonAttachmentConsumer")
public class CommonAttachmentConsumerImpl implements CommonAttachmentConsumer {

    @Resource
    private CommonAttachmentProvider commonAttachmentProvider;

    @Override
    public BasePagingResponse<List<CommonAttachmentDTO>> searchCommonAttachment(final CommonAttachmentSearchRequest searchRequest) {
        return commonAttachmentProvider.searchCommonAttachment(searchRequest);
    }

   
    @Override
    public BaseResponse<CommonAttachmentDTO> getCommonAttachment(final BaseGetRequest baseGetRequest) {
        return commonAttachmentProvider.getCommonAttachment(baseGetRequest);
    }

    
    @Override
    public BaseResponse<String> insertCommonAttachment(final CommonAttachmentInsertRequest insertRequest) {
        return commonAttachmentProvider.insertCommonAttachment(insertRequest);
    }

    @Override
    public BaseResponse<Integer> updateCommonAttachment(CommonAttachmentUpdateRequest updateRequest) {
        return null;
    }

    @Override
    public BaseResponse<Integer> deleteCommonAttachment(BaseDeleteRequest deleteRequest) {
        return null;
    }


}
